package com.whj.servicemap.controller;

import com.whj.internalcommon.dto.ResponseResult;
import com.whj.servicemap.service.DistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: wanghaijun
 * @Date: 2023/1/10 - 01 - 10 - 13:25 
 * @Description: com.whj.servicemap.controller
 */

@RestController
public class DistrictController {

    @Autowired
    private DistrictService districtService;

    @GetMapping("/dic-district")
    public ResponseResult initDicDistrict( String keywords){

        return districtService.initDicDistrict(keywords);
    }
}
